package com.sample;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class DeriveClassTest extends BaseClassTest {

	@Before
	public void setup() {
		testObj = new DeriveClass();
	}

	@Test
	public final void testSub() {
		DeriveClass t = (DeriveClass) testObj;
		assertEquals(1, t.Sub(3, 2));
	}

	@Override
	@Test
	public void testAdd() {
		assertEquals(6, testObj.Add(3, 2));
	}
}
